package com.igoal.web;

public interface Constants {
	int UI_EMAIL_CHARS = 25;
	int UI_USERNMAE_CHARS = 20;
	String AVATAR_LOCATION = "/images/avatars/";

	// width for an image of an goal entry
	int ENTRY_IMAGE_WIDTH = 550;

	int RANDOM_FRIEND_SIZE = 30;
	int FRIEND_PAGE_SIZE = 30;
	int RANDOM_LIKE_LIST_SIZE = 2;
	int LIKE_LIST_PAGE_SIZE = 5;

	int MAX_GOAL_CAN_CREATE_PER_DAY = 5;

	int MAX_USER_NOTIFICATION = 5;
	int MAX_RECENT_ACTIVITIES = 10;

	int MAX_YOU_SHOULD_DO_GOAL = 4;

	// goal detail
	int RANDOM_USER_DO_GOAL_NUMBER = 24;
	int USER_DO_GOAL_PAGE_SIZE = 5;

	int MAX_COMMENT_PER_PAGE = 5;
	String DEFAULT_COMMENT_PAGING_ORDER_PROPERTY = "createDate";

	int DAY_WILL_REMIND_USER_ABOUT_TASK_DEADLINE = 2;

	// wall page
	int WALL_ACTIVITIES_PAGE_SIZE = 10;
	
	// news page
	int MAX_NEWS_PER_PAGE = 5;
	
	// tag
	String TAG_DELIMITER = ",";
	
	// comment
	int LATEST_COMMENT_SIZE = 2;
	
	// search
	int SEARCH_FRIEND = 1;
	int SEARCH_GOAL = 2;
	int SEARCH_ENTRY = 3;
	int SEARCH_NEWS = 4;
	int MAX_SEARCH_RESULT = 20;
	
	// xmas 2010
	int IMAGE_CARD_WIDTH = 332;
	int IMAGE_CARD_HEIGHT = 288;
	
	// member mail status
	int SCHEDULED_PENDING = 1;
	int EMAIL_SENDING = 2;
	int SENT_FINISHED = 3;
	int SCHEDULED_MISSED = 4;
	
	int USER_SUBSCRIPTION_WEEKLY = 1;
	int USER_SUBSCRIPTION_MONTHLY = 2;
	int USER_SUBSCRIPTION_EVERY_THREE_MONTHS = 3;
	int USER_SUBSCRIPTION_EVERY_SIX_MONTHS = 4;
}
